package com.briup.estore.service.impl;

import java.math.BigInteger;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.briup.estore.bean.Book;
import com.briup.estore.mapper.IBookMapper;
import com.briup.estore.service.IBookService;

@Service
public class BookServiceImpl implements IBookService {

	@Autowired
	private IBookMapper bookMapper;

	@Override
	public List<Book> findAllBooks() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Book findBookById(BigInteger id) {

		return bookMapper.findBookById(id);
	}

	@Override
	public List<String> findAllPublisher() {
		return bookMapper.findAllPublisher();
	}

}
